<template>
	<div class="login-page">
		<div class="login-main">
			<div class="login-text">温县公安局基层执法办案智能化管理平台</div>
			<div class="login-card">
				<div class="inner">
					<div class="l-head">
						<img src="../../assets/images/logo.png" alt="">
						<div class="l-text">温县公安局基层执法办案智能化管理平台</div>
					</div>
					<div class="l-tip">欢迎登陆</div>
					<el-form ref="form" :model="form" class="login-form">
						<el-form-item>
							<el-input prefix-icon="el-icon-user" v-model="form.uname" placeholder="请输入登录名"></el-input>
						</el-form-item>
						<el-form-item>
							<el-input prefix-icon="el-icon-lock" v-model="form.upass" placeholder="请输入密码"></el-input>
						</el-form-item>
						<div class="l-foot">
							<el-button type="submit" @click="onSubmit">登陆</el-button>
						</div>
					</el-form>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
	// @ is an alias to /src
	export default {
		name: 'Home',
		components: {},
		data() {
			return {
				form: {
					uname: '',
					upass: '',
				}
			}
		},
		methods: {

		}
	}
</script>
